import 'package:play_android/com/zhihaoliang/base/BaseModel.dart';
import 'package:json_annotation/json_annotation.dart';

import 'ArticleData.dart';

part 'ArticleModel.g.dart';

/// **************************************************************************
/// 文章列表的数据信息
/// **************************************************************************

@JsonSerializable()
class ArticleModel extends BaseModel<ArticleData> {
  ArticleModel();

  factory ArticleModel.fromJson(Map<String, dynamic> json) =>
      _$ArticleModelFromJson(json);

  Map<String, dynamic> toJson() => _$ArticleModelToJson(this);
}
